exports.home = async (req, res) => {
  // console.log(redis);
  // const count = await redis.llen("my-users");
  try {
    const users = await redis.keys("*");
    res.render("index", { count: users.length });
  } catch (error) {
    res.render("index", { count: 0 });
  }
};
